package com.dhsc.controller.wskh;

import com.dhsc.domain.ywzx.wskh.WskhShjdVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.wskh.IWskhShjdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 
 * @ClassName:  WskhShjdController
 * @Description: 网上开户权限配置
 * @date:   2024年10月12日 下午1:33:32
 * @author: 郭兴
 * @Copyright:  东海运营
 */
@Controller
@RequestMapping("/wskh")
public class WskhShjdController {
	
	@Autowired
	private IWskhShjdService twskhshjdService;
	
	/**
	 * 
	 * @Title: queryWskhShjd
	 * @Description: 查询网上开户权限配置
	 * @param wskhShjdVo
	 * @return LayuiTableVo
	 * @author: gx
	 * @date:   2024年10月12日 下午1:34:25
	 */
	
	@RequestMapping("/queryWskhShjd")
	@ResponseBody
	public LayuiTableVo queryWskhShjd(WskhShjdVo wskhShjdVo)
	{
		return twskhshjdService.queryWskhShjd(wskhShjdVo);
	}

	/**
	* @Description: 保存网上开户权限配置
	* @MessageName: saveWskhShjd
	* @param: wskhShjdVo
	* @return: ResponseObject
	* @Author: gx
	* @Date: 2024/10/10 10:46
	*/
	@RequestMapping(value="/saveWskhShjd")
	@ResponseBody
	public ResponseObject saveWskhShjd(WskhShjdVo wskhShjdVo){
		return twskhshjdService.saveWskhShjd(wskhShjdVo);
	}

	/**
	* @Description: 删除网上开户权限配置
	* @MessageName: deleteWskhShjd
	* @param: wskhShjdVo
	* @return: ResponseObject
	* @Author: gx
	* @Date: 2024/10/10 10:46
	*/
	@RequestMapping(value="/deleteWskhShjd")
	@ResponseBody
	public ResponseObject deleteWskhShjd(WskhShjdVo wskhShjdVo){
		return twskhshjdService.deleteWskhShjd(wskhShjdVo);
	}

	/**
	* @Description: 查询网上开户权限配置用户信息
	* @MessageName: queryWskhShjdYhxx
	* @return: ResponseObject
	* @Author: gx
	* @Date: 2024/10/10 13:39
	*/
	@RequestMapping(value="/queryWskhShjdYhxx")
	@ResponseBody
	public ResponseObject queryWskhShjdYhxx(){
		return twskhshjdService.queryWskhShjdYhxx();
	}
}